﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditPasswd.aspx.cs" Inherits="EditPasswd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
   <div style="vertical-align: middle; text-align: center">
    <form id="form1" runat="server">
       <table id="tblLog" runat="server" border="1" cellpadding="0" cellspacing="0" width="500">
            <tr>
                <td colspan="2">
                    密码修改&nbsp;</td>
            </tr>
            <tr>
                <td>
                    老密码：</td>
                <td align="left">
                    &nbsp;<asp:TextBox ID="TxtOldPasswd" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入老密码" ControlToValidate="TxtOldPasswd"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>
                    新密码：</td>
                <td align="left">
                    &nbsp;<asp:TextBox ID="TxtNewPasswd" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入新密码" ControlToValidate="TxtNewPasswd"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="left">
                      <asp:Button ID="cmdAddupdate" runat="server" Text="修改" OnClick="cmdAddupdate_Click" />
                      <asp:HiddenField id="user_id" runat="server" />
                      <asp:HiddenField id="create_time" runat="server" />
                </td>
            </tr>
        </table>
        <br />

  <table id="Table1" runat="server" border="1" cellpadding="0" cellspacing="0" width="500">
  <tr>
    <td>&nbsp;<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
            ShowSummary="False" />
    </td>
  </tr>
</table>
    
    </form>
</div>
</body>
</html>
